package com.zx.map.service;

import com.zx.map.service.model.MerchantInfoDetailModel;
import com.zx.map.service.model.RiskControlModel;
import org.springframework.dao.DataAccessException;

/**
 * Created by IntelliJ IDEA. User: Administrator Date: 14-3-1 Time: 上午11:06 To
 * change this template use File | Settings | File Templates.
 */
public interface RiskControlService {

    /**
     * 业务许可 限额风险控制
     *
     * @param transType
     * @param transAmt
     * @param merchantInfoDetailModel
     * @return
     * @throws DataAccessException
     */
    public RiskControlModel bussinessAmtRiskControl(String transType, String transAmt, MerchantInfoDetailModel merchantInfoDetailModel) throws DataAccessException;

    /**
     * 业务许可 限次风险控制
     *
     * @param transType
     * @param transAmt
     * @param merchantInfoDetailModel
     * @return
     * @throws DataAccessException
     */
    public RiskControlModel bussinessTimeRiskControl(String transType, String transAmt, MerchantInfoDetailModel merchantInfoDetailModel) throws DataAccessException;

}
